﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using org.eclipse.paho.client.mqttv3.@internal;
using org.eclipse.paho.client.mqttv3;
using org.eclipse.paho.client.mqttv3.logging;
using org.eclipse.paho.client.mqttv3.persist;
using org.eclipse.paho.client.mqttv3.util;
using cn.ys.ysdatatransfer.business;
using cn.Ysserver.entity;
using cn.Ysserver.impl;
using cn.Ysserver.Interface;
using cn.Ysserver.utils;
using cn.Ysserver;

namespace Ys4GClient
{
    static class Program
    {
        public static YsCloudClient ysCloudClient;
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            //设置MQTT服务器地址
           // MqttPropertise.SERVER_ADDRESS = "test:1883";
            ysCloudClient = new YsCloudClient();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new login());
        }
    }
}
